import i18n from '@/i18n'
export function rulesPassword(rule,value,callback){
  if(value.length<6){
    return callback(new Error(i18n.global.t('msg.login.passwordRule')))
  }else{
    return callback()
  }
}